Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.routing.contentView.contrib--contentViews

This contribution is part of XML component org.nuxeo.ecm.platform.routing.contentView.contrib inside nuxeo-routing-web-9.10.jar /OSGI-INF/routing-content-view-contrib.xml

Extension Point

Extension point contentViews of component ContentViewService.

Contributed Items

  • <contentView name="route_past_steps">
          <title>label.document.routing.past.steps</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
          <coreQueryPageProvider>
            <property name="coreSession">#{documentManager}</property>
            <parameter>#{currentDocument.id}</parameter>
            <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
            <whereClause docType="TaskDoc">
              <fixedPart>
                nt:targetDocumentsIds = ? AND
                nt:processId = ? AND
                ecm:currentLifeCycleState = 'ended'
              </fixedPart>
            </whereClause>
            <pageSize>10</pageSize>
          </coreQueryPageProvider>
          <showFilterForm>false</showFilterForm>
          <showRefreshCommand>false</showRefreshCommand>
          <showPageSizeSelector>false</showPageSizeSelector>
          <useGlobalPageSize>false</useGlobalPageSize>
          <refresh>
            <event>documentCreated</event>
            <event>workflowTaskCompleted</event>
            <event>tasksCacheReset</event>
          </refresh>
          <cacheSize>10</cacheSize>
          <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
          </cacheKey>
          <resultLayouts>
            <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
          </resultLayouts>
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="route_past_steps">
      <title>label.document.routing.past.steps</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <parameter>#{currentDocument.id}</parameter>
        <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
        <whereClause docType="TaskDoc">
          <fixedPart>
            nt:targetDocumentsIds = ? AND
            nt:processId = ? AND
            ecm:currentLifeCycleState = 'ended'
          </fixedPart>
        </whereClause>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>
      <showFilterForm>false</showFilterForm>
      <showRefreshCommand>false</showRefreshCommand>
      <showPageSizeSelector>false</showPageSizeSelector>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>documentCreated</event>
        <event>workflowTaskCompleted</event>
        <event>tasksCacheReset</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
      </cacheKey>
      <resultLayouts>
        <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
      </resultLayouts>
    </contentView>
  </extension>